tests: Add test resetting the model
authorBenjamin Otte <otte@redhat.com>
Wed, 14 Dec 2011 12:49:31 +0000 (13:49 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 16 Dec 2011 03:53:15 +0000 (04:53 +0100)
commit070124b0a54166b17f8609bbdf942eb08f3f5ec3
treeca63ed5998ec8f0808cf6ad41962a81acd17e6fd
parentf5621a3a8e8d91a8bc1e310eb38763c703a913d8
tests: Add test resetting the model

We first set a NULL model and then reset the old model, just to get the
effect of clearing and then resetting.

We reset the cursor and selection afterwards, so the reset doesn't
destroy all the work we did.
tests/testtreechanging.c